package cn.cqy.poi.bean;

import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.util.List;

/**
 * 患者信息导入
 *
 * @author caiqy
 * @date 2020/9/16 14:21
 */
@Data
@ExcelTarget("userImportExcelVO")
public class UserImportExcelVO {

    /**
     * 患者
     */
    @ExcelEntity
    private UserImportEntity user;

    /**
     * 家庭成员
     */
    @ExcelCollection(name = "家庭成员")
    private List<FamilyMemberEntity> familyMembers;
}
